﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using WinRtBehaviors;

namespace Win8nl.Behaviors
{
  public static class BehaviorExtensions
  {
    public static T GetAssociatedObject<T>(this Behavior<T> b ) where T: FrameworkElement
    {
      return b.AssociatedObject;
    }
  }
}
